package edu.ahpu.propertymanage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.ahpu.propertymanage.dataclass.DisProject;
import edu.ahpu.propertymanage.dataclass.PageSet;
import edu.ahpu.propertymanage.dataclass.RepProject;
import edu.ahpu.propertymanage.dataclass.SecProject;
import edu.ahpu.propertymanage.pojo.Project;

import java.util.List;

public interface ProjectDao extends BaseMapper<Project>{

    //派工单分页
    public List<DisProject> disProject(PageSet pageSet);
    public long countDis(PageSet pageSet);

    //维修单分页
    public List<RepProject> repProject(PageSet pageSet);
    public long countRepair(PageSet pageSet);

    //安全检查单
    public List<SecProject> secProject(PageSet pageSet);
    public long countSecurity(PageSet pageSet);
}
